package com.huarui.part.model;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.ewaf.framework.model.BaseDataObject;
/**
 * 标准配件类
 * @author xu
 *
 */
public class StandardPart extends BaseDataObject{
	
	private static final long serialVersionUID = -713383448014210425L;
	/**
	 * 主键　
	 */
	private Integer id;
	
	/**
	 * 名称
	 */
	private String name;
	/**
	 * 英文名称
	 */
	private String nameEn;
	/**
	 * 拼音码
	 */
	private String pyCode;
	/**
	 * 计量单位
	 */
	private String measurementUnit;
	/**
	 * 零件分类
	 */
	private Integer partCategoryId;
	
	/**
	 * 一级分类名称
	 */
	private String level1Name;
	/**
	 * 二级分类名称
	 */
	private String level2Name;
	/**
	 * 一级分类ID
	 */
	private Integer level1Id;
	/**
	 * 耐用性
	 */
	private String durability;

	@Override
	public Integer getId() {
	
		return this.id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNameEn() {
		return nameEn;
	}

	public void setNameEn(String nameEn) {
		this.nameEn = nameEn;
	}

	public String getPyCode() {
		return pyCode;
	}

	public void setPyCode(String pyCode) {
		this.pyCode = pyCode;
	}

	public String getMeasurementUnit() {
		return measurementUnit;
	}

	public void setMeasurementUnit(String measurementUnit) {
		this.measurementUnit = measurementUnit;
	}

	public Integer getPartCategoryId() {
		return partCategoryId;
	}

	public void setPartCategoryId(Integer partCategoryId) {
		this.partCategoryId = partCategoryId;
	}

	public String getLevel1Name() {
		return level1Name;
	}

	public void setLevel1Name(String level1Name) {
		this.level1Name = level1Name;
	}

	public String getLevel2Name() {
		return level2Name;
	}

	public void setLevel2Name(String level2Name) {
		this.level2Name = level2Name;
	}

	public Integer getLevel1Id() {
		return level1Id;
	}

	public void setLevel1Id(Integer level1Id) {
		this.level1Id = level1Id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getDurability() {
		return durability;
	}

	public void setDurability(String durability) {
		this.durability = durability;
	}
	@Override
	public String toString() {
		return ReflectionToStringBuilder.toString(this); 
	}
	

}
